.class public final Lkairo/android/f/a;
.super Ljava/lang/Object;


# static fields
.field private static a:[I

.field private static b:[F

.field private static c:[F

.field private static d:Lkairo/android/e/a/b;

.field private static e:Lkairo/android/e/a/b;

.field private static f:[Lkairo/android/e/a/b;

.field private static g:[F


# direct methods
.method static constructor <clinit>()V
    .locals 4

    const/4 v1, 0x0

    const/4 v3, 0x2

    new-array v0, v3, [I

    sput-object v0, Lkairo/android/f/a;->a:[I

    new-array v0, v3, [F

    sput-object v0, Lkairo/android/f/a;->b:[F

    const/4 v0, 0x3

    new-array v0, v0, [F

    sput-object v0, Lkairo/android/f/a;->c:[F

    new-instance v0, Lkairo/android/e/a/b;

    invoke-direct {v0, v1, v1, v1}, Lkairo/android/e/a/b;-><init>(FFF)V

    sput-object v0, Lkairo/android/f/a;->d:Lkairo/android/e/a/b;

    new-instance v0, Lkairo/android/e/a/b;

    invoke-direct {v0}, Lkairo/android/e/a/b;-><init>()V

    sput-object v0, Lkairo/android/f/a;->e:Lkairo/android/e/a/b;

    new-array v0, v3, [Lkairo/android/e/a/b;

    const/4 v1, 0x0

    new-instance v2, Lkairo/android/e/a/b;

    invoke-direct {v2}, Lkairo/android/e/a/b;-><init>()V

    aput-object v2, v0, v1

    const/4 v1, 0x1

    new-instance v2, Lkairo/android/e/a/b;

    invoke-direct {v2}, Lkairo/android/e/a/b;-><init>()V

    aput-object v2, v0, v1

    sput-object v0, Lkairo/android/f/a;->f:[Lkairo/android/e/a/b;

    new-array v0, v3, [F

    sput-object v0, Lkairo/android/f/a;->g:[F

    return-void
.end method

.method public static a(FF)F
    .locals 1

    const/high16 v0, 0x42200000    # 40.0f

    invoke-static {v0}, Lkairo/android/e/a/a;->d(F)F

    move-result v0

    div-float/2addr v0, p0

    div-float v0, p1, v0

    invoke-static {v0}, Lkairo/android/e/a/a;->e(F)F

    move-result v0

    return v0
.end method

.method public static a(FFFFFF)I
    .locals 3

    const/4 v2, 0x0

    sub-float v0, p3, p5

    mul-float/2addr v0, p0

    sub-float v1, p5, p1

    mul-float/2addr v1, p2

    add-float/2addr v0, v1

    sub-float v1, p1, p3

    mul-float/2addr v1, p4

    add-float/2addr v0, v1

    cmpl-float v1, v0, v2

    if-lez v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    cmpg-float v0, v0, v2

    if-gez v0, :cond_1

    const/4 v0, -0x1

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static final a(I)I
    .locals 2

    const/4 v1, 0x1

    if-lez p0, :cond_1

    const/4 v0, 0x2

    :goto_0
    if-ge v1, p0, :cond_0

    mul-int/lit8 v0, v0, 0x2

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    return v0

    :cond_1
    move v0, v1

    goto :goto_0
.end method

.method public static a(Lkairo/android/e/a/b;Lkairo/android/e/a/b;Lkairo/android/e/a/b;)Lkairo/android/e/a/b;
    .locals 7

    sget-object v0, Lkairo/android/f/a;->f:[Lkairo/android/e/a/b;

    const/4 v1, 0x0

    aget-object v0, v0, v1

    sget-object v1, Lkairo/android/f/a;->f:[Lkairo/android/e/a/b;

    const/4 v2, 0x1

    aget-object v1, v1, v2

    iget v2, p1, Lkairo/android/e/a/b;->a:F

    iget v3, p0, Lkairo/android/e/a/b;->a:F

    sub-float/2addr v2, v3

    iget v3, p1, Lkairo/android/e/a/b;->b:F

    iget v4, p0, Lkairo/android/e/a/b;->b:F

    sub-float/2addr v3, v4

    iget v4, p1, Lkairo/android/e/a/b;->c:F

    iget v5, p0, Lkairo/android/e/a/b;->c:F

    sub-float/2addr v4, v5

    invoke-virtual {v0, v2, v3, v4}, Lkairo/android/e/a/b;->b(FFF)V

    iget v2, p2, Lkairo/android/e/a/b;->a:F

    iget v3, p0, Lkairo/android/e/a/b;->a:F

    sub-float/2addr v2, v3

    iget v3, p2, Lkairo/android/e/a/b;->b:F

    iget v4, p0, Lkairo/android/e/a/b;->b:F

    sub-float/2addr v3, v4

    iget v4, p2, Lkairo/android/e/a/b;->c:F

    iget v5, p0, Lkairo/android/e/a/b;->c:F

    sub-float/2addr v4, v5

    invoke-virtual {v1, v2, v3, v4}, Lkairo/android/e/a/b;->b(FFF)V

    new-instance v2, Lkairo/android/e/a/b;

    invoke-direct {v2}, Lkairo/android/e/a/b;-><init>()V

    iget v3, v0, Lkairo/android/e/a/b;->b:F

    iget v4, v1, Lkairo/android/e/a/b;->c:F

    mul-float/2addr v3, v4

    iget v4, v0, Lkairo/android/e/a/b;->c:F

    iget v5, v1, Lkairo/android/e/a/b;->b:F

    mul-float/2addr v4, v5

    sub-float/2addr v3, v4

    iget v4, v0, Lkairo/android/e/a/b;->c:F

    iget v5, v1, Lkairo/android/e/a/b;->a:F

    mul-float/2addr v4, v5

    iget v5, v0, Lkairo/android/e/a/b;->a:F

    iget v6, v1, Lkairo/android/e/a/b;->c:F

    mul-float/2addr v5, v6

    sub-float/2addr v4, v5

    iget v5, v0, Lkairo/android/e/a/b;->a:F

    iget v6, v1, Lkairo/android/e/a/b;->b:F

    mul-float/2addr v5, v6

    iget v0, v0, Lkairo/android/e/a/b;->b:F

    iget v1, v1, Lkairo/android/e/a/b;->a:F

    mul-float/2addr v0, v1

    sub-float v0, v5, v0

    invoke-virtual {v2, v3, v4, v0}, Lkairo/android/e/a/b;->b(FFF)V

    invoke-virtual {v2}, Lkairo/android/e/a/b;->c()V

    return-object v2
.end method

.method public static final a(IIIIII)Z
    .locals 1

    if-ge p2, p0, :cond_0

    add-int v0, p2, p4

    if-ge p0, v0, :cond_0

    if-ge p3, p1, :cond_0

    add-int v0, p3, p5

    if-ge p1, v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static final a(IIIIIIII)Z
    .locals 1

    add-int v0, p4, p6

    if-gt p0, v0, :cond_0

    add-int v0, p5, p7

    if-gt p1, v0, :cond_0

    add-int v0, p0, p2

    if-lt v0, p4, :cond_0

    add-int v0, p1, p3

    if-lt v0, p5, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static a(FFFF)[F
    .locals 4

    sub-float v0, p3, p1

    sub-float v1, p2, p0

    neg-float v1, v1

    mul-float v2, v0, v0

    mul-float v3, v1, v1

    add-float/2addr v2, v3

    const/4 v3, 0x0

    cmpl-float v2, v2, v3

    if-eqz v2, :cond_0

    mul-float v2, v0, v0

    mul-float v3, v1, v1

    add-float/2addr v2, v3

    invoke-static {v2}, Lkairo/android/e/a/a;->e(F)F

    move-result v2

    div-float/2addr v0, v2

    div-float/2addr v1, v2

    :cond_0
    sget-object v2, Lkairo/android/f/a;->g:[F

    const/4 v3, 0x0

    aput v0, v2, v3

    sget-object v0, Lkairo/android/f/a;->g:[F

    const/4 v2, 0x1

    aput v1, v0, v2

    sget-object v0, Lkairo/android/f/a;->g:[F

    return-object v0
.end method

.method public static final b(IIIIII)I
    .locals 4

    sub-int v0, p2, p0

    sub-int v1, p3, p1

    sub-int v2, p4, p0

    sub-int v3, p5, p1

    mul-int/2addr v0, v2

    mul-int/2addr v1, v3

    add-int/2addr v0, v1

    return v0
.end method
